package com.aaronprj.school.mbooks.uivo;

import java.util.Date;

public class UIMessage {
	
	private int id;
	private int senderId;
	private String senderName;
	private int recieverId;
	private String content;
	private boolean unreaded;
	private Date createDate;
	
	public UIMessage(int id,int senderId,String senderName,int recieverId,String content,boolean unreaded,Date createDate){
		this.id = id;
		this.senderId = senderId;
		this.senderName = senderName;
		this.recieverId = recieverId;
		this.content = content;
		this.unreaded = unreaded;
		this.createDate = createDate;
		
	}
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}	
	
	public int getSenderId() {
		return senderId;
	}
	public void setSenderId(int senderId) {
		this.senderId = senderId;
	}
	public String getSenderName() {
		return senderName;
	}
	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}
	public int getRecieverId() {
		return recieverId;
	}
	public void setRecieverId(int recieverId) {
		this.recieverId = recieverId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public boolean isUnreaded() {
		return unreaded;
	}
	public void setUnreaded(boolean unreaded) {
		this.unreaded = unreaded;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	
}
